<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>后台登录-X-admin2.0</title>
        <meta name="renderer" content="webkit|ie-comp|ie-stand">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />

        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
        <link rel="stylesheet" href="../css/font.css">
        <link rel="stylesheet" href="../css/xadmin.css">
    </head>
    <body>
        <div class="x-body">
           <div style="color: #9EA6B9;font-size: 50px;"><b>圆饼图</b></div>
            <!-- 为 ECharts 准备一个具备大小（宽高）的 DOM -->
            <div id="main" style="width: 100%;height:600px;"></div>
            
        </div>
        <script src="https://cdn.bootcss.com/echarts/3.7.0/echarts.min.js"></script>
        <script src="../js/echarts/bmap.min.js" type="text/javascript"></script>
        <script type="text/javascript">
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('main'));

        // 指定图表的配置项和数据
        option = {
        	legend: {
        		top: 'bottom'
        	},
        	toolbox: {
        		show: true,
        		feature: {
        			mark: {
        				show: true
        			},
        			dataView: {
        				show: true,
        				readOnly: false
        			},
        			restore: {
        				show: true
        			},
        			saveAsImage: {
        				show: true
        			}
        		}
        	},
        	series: [{
        		name: 'Nightingale Chart',
        		type: 'pie',
        		radius: [50, 250],
        		center: ['50%', '50%'],
        		roseType: 'area',
        		itemStyle: {
        			borderRadius: 8
        		},
        		data: [{
        				value: 40,
        				name: 'rose 1'
        			},
        			{
        				value: 38,
        				name: 'rose 2'
        			},
        			{
        				value: 32,
        				name: 'rose 3'
        			},
        			{
        				value: 30,
        				name: 'rose 4'
        			},
        			{
        				value: 28,
        				name: 'rose 5'
        			},
        			{
        				value: 26,
        				name: 'rose 6'
        			},
        			{
        				value: 22,
        				name: 'rose 7'
        			},
        			{
        				value: 18,
        				name: 'rose 8'
        			}
        		]
        	}]
        };// 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
    </script>
    </body>
</html>